from wordcloud import WordCloud
import jieba

text = "捡到一束光,日落时还给太阳!"
words = " ".join(jieba.cut(text, cut_all=False))

wordcloud = WordCloud(
    font_path="msyh.ttc",
    background_color="white",
).generate(words)

wordcloud.to_file("./status/output.png")